package edt.design.decorator;

/**
 * 修饰抽象类
 * */
public abstract class Decorator extends SchoolReport {

	// 成绩单
	private SchoolReport sr;

	// 构造函数，传递成绩单
	public Decorator(SchoolReport sr) {
		this.sr = sr;
	}

	// 成绩单还是要被看见的
	public void report() {
		this.sr.report();
	}

	// 看完还是要签名的
	public void sign(String  name) {
		this.sr.sign(name);
	}

}
